package com.cbl;

public class StringUtils {

    public static boolean isBlank(String str) {
        return str == null || str.equals("");
    }

    public static boolean isNotBlank(String str) {
        return str != null && !str.equals("");
    }

    public static boolean existBlank(String[] strs) {
        boolean flag = false;
        for (int i = 0; i < strs.length; i++) {
            if (strs[i] == null || strs[i].equals("")) {
                flag = true;
                break;
            }
        }
        return flag;
    }
}
